 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="Content-Language" content="en-us" />
    <meta http-equiv="imagetoolbar" content="no">
    <meta name="viewport" content="width=780" />
    <script type="text/javascript">
    function toggleDivOL( elemID )
    {
      var elem = document.getElementById( elemID );
      if( elem.style.position != 'absolute' )
      {
        elem.style.position = 'absolute';
        elem.style.left = '-4000px';
      }
      else
      {
        elem.style.position = 'relative';
        elem.style.left = '0px';
      }
   <style type="text/css">
   body {
   font-family: Tahoma, sans-serif;
}
.testDiv {
width: 300px;
padding: 5px;
background-color: #DDD000;
color: #CC0000;
border: 1px solid #000000;
font-weight: bold;
}
</style>}
</script>

  </head>
<body>

<div style="margin-left:15%;width:650px">


<div style="text-align:left">
<form action="" method="get">
    <input type="text" name="q" value="{{ query|escape }}"/>
    <input type="hidden" name="type" value="content"/>

    <input type="submit"/ value="search content">
    <br/>
</form>

<form action="" method="get">
    <input type="text" name="q" value="{{ query|escape }}"/>
    <input type="hidden" name="type" value="tags"/>
    <input type="submit"/ value="search tags">
    <br/>
</form>

</div>
<div>
{% if took %}
  search took {{ took }}
{% endif %}
</div>
{% if query %}
    {{ total }} results for: <b>{{ query|escape }}</b>
    <br/>

    {% for entry in entries %}

    <div>
          <br/>feed: <a href="{{ entry.feed.link }}"> {{ entry.feed.title }}</a>
       </div>
       <div>
       entry:  <a href="{{ entry.entry.link }}">
      {% if entry.entry.title %}
      {{ entry.entry.title|escape }}
      {% else %}
      {{ entry.entry.link|escape }}
      {% endif %}
      </a>
      </div>
      <div>
      tags: {{ entry.entry.tags }}
      </div>
    {% endfor %}

{% endif %}

<br/>

</div>

</body>
</html>
